import React from 'react';
import { useTitle } from 'ahooks';

import { Button } from 'antd-mobile';
import { history } from 'umi';
import style from './style.less';

export default () => {
  useTitle('提示');
  return (
    <div className={style.page}>
      <div className={style.img} />
      <div className={style.title}>提交成功</div>
      <div className={style.tip}>请耐心等待卖家确认</div>
      <div className={style.btn}>
        <Button
          color="success"
          fill='outline'
          onClick={() => {
            history.replace('/supply/order');
          }}
        >
          查看订单
        </Button>
      </div>
    </div>
  );
};
